using SmartLink.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SmartLink.EnumLibrary;

namespace SmartLink.IRepository
{
    public interface ISYS_ModuleFunctionRepo : IRepository<SYS_ModuleFunction>
    {
        bool Exist(string moduleCode, string code);
        bool Repeat(int id, string moduleCode, string newCode);
        IEnumerable<SYS_ModuleFunction> GetList(string moduleCode);
        IEnumerable<SYS_ModuleFunction> GetAuthorizedFunctions(AuthorizationOwnerTypeEnum ownerType, params int[] ownerIds);
        IEnumerable<SYS_ModuleFunction> GetOrgManagerModuleFunctions();
    }
}
